//
//  HomeSecondCollectionViewCell.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/5/12.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "HomeSecondCollectionViewCell.h"
#import <UIImageView+WebCache.h>

@interface HomeSecondCollectionViewCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLab;
@property (weak, nonatomic) IBOutlet UIImageView *iconView;

@end

@implementation HomeSecondCollectionViewCell

- (void)setModel:(HomeGoodsTypeModel *)model
{
    _model = model;
    self.nameLab.text = model.productTypeName;
    [self.iconView sd_setImageWithURL:[NSURL URLWithString:model.productTypeImage] placeholderImage:GetImage(@"beijngtu")];
}

@end
